* {
    margin: 0;
    padding: 0;
}
body {
    max-width: 540px;
    min-width: 320px;
    margin: 0 auto;
    font: 400 14px/1.5 Tahoma, "Lucida Grande", Verdana, "Microsoft Yahei", STXihei, hei;
    color: #000;
    background: #f2f2f2;
    overflow-x: hidden;
    -webkit-tap-highlight-color: transparent;
}
a {
    text-decoration: none;
    color: #222;
}
li {
    list-style: none;
}
div {
    box-sizing: border-box;
}
.search-index {
    position: fixed;
    display: flex;
    top: 0;
    left: 50%;
    -webkit-transform: translateX(-50%);
    transform: translateX(-50%);
    width: 100%;
    height: 44px;
    max-width: 540px;
    min-width: 320px;
    background-color: #f6f6f6;
    border-top: 1px solid #ccc;
    border-bottom: 1px solid #ccc;
}
.search-index .search {
    flex: 1;
    height: 26px;
    /* background-color: skyblue; */
    border: 1px solid #ccc;
    margin: 8px 10px;
    border-radius: 5px;
    line-height: 24px;
    font-size: 12px;
    color: #666;
    box-shadow: 0 2px 4px rgba(0,0,0,.2);
}
.search-index .search::before {
    content: "";
    display: inline-block;
    width: 15px;
    height: 15px;
    background: url(../images/sprite.png) no-repeat -59px -279px;
    background-size: 104px auto;
    margin: 5px;
    vertical-align: middle;
}
.search-index .user {
    width: 44px;
    height: 44px;
    /* background-color: pink; */
    text-align: center;
    color: #2eaae0;
}
.search-index .user::before {
    content: "";
    display: block;
    width: 24px;
    height: 24px;
    background: url(../images/sprite.png) no-repeat -58px -193.5px;
    background-size: 104px auto;
    margin: 4px auto -4px;
}
.focus {
    padding-top: 44px;
}
.focus img {
    width: 100%;
}
.local-nav {
    display: flex;
    height: 66px;
    background-color: #fff;
    border-radius: 8px;
    margin: 3px 4px;
}
.local-nav li {
    flex: 1;
}
.local-nav li a {
    display: flex;
    height: 66px;
    flex-flow: column nowrap;
    justify-content: center;
    align-items: center;
}
.local-nav .local-nav-icon {
    width: 32px;
    height: 32px;
    /* background-color: pink; */
}
.local-nav li:nth-child(1) .local-nav-icon {
    background: url(../images/localnav_bg.png) no-repeat 0 0;
    background-size: 32px auto;
}
.local-nav li:nth-child(2) .local-nav-icon {
    background: url(../images/localnav_bg.png) no-repeat 0 -32px;
    background-size: 32px auto;
}
.local-nav li:nth-child(3) .local-nav-icon {
    background: url(../images/localnav_bg.png) no-repeat 0 -64px;
    background-size: 32px auto;
}
.local-nav li:nth-child(4) .local-nav-icon {
    background: url(../images/localnav_bg.png) no-repeat 0 -96px;
    background-size: 32px auto;
}
.local-nav li:nth-child(5) .local-nav-icon {
    background: url(../images/localnav_bg.png) no-repeat 0 -128px;
    background-size: 32px auto;
}

nav {
    border-radius: 8px;
    margin: 0 4px 3px;
    overflow: hidden;
}
nav .nav-common {
    display: flex;
    height: 88px;
    background-color: pink;
}
nav .nav-common:nth-child(2) {
    margin: 3px 0;
}
nav .nav-common .nav-items {
    flex: 1;
    display: flex;
    flex-direction: column;
}
nav .nav-common .nav-items:nth-child(-n+2) {
    border-right: 1px solid #fff;
}
nav .nav-common .nav-items a {
    flex: 1;
    text-align: center;
    line-height: 44px;
    color: #fff;
    font-size: 14px;
    text-shadow: 1px 1px rgba(0,0,0,.2);
}
nav .nav-common .nav-items a:nth-child(2) {
    border-top: 1px solid #fff;
}
nav .nav-common .nav-items:nth-child(1) a {
    background: url(../images/hotel.png) no-repeat bottom center;
    background-size: 121px auto;
}
nav .nav-common:nth-child(1) {
    /* 背景颜色渐变： 渐变起始点 开始颜色 结束颜色；（可以有很多种颜色） */
    background: -webkit-linear-gradient(left, #fa5a55, #fa994d);
}
nav .nav-common:nth-child(2) {
    background: -webkit-linear-gradient(left, #4b90ed, #53bced);
}
nav .nav-common:nth-child(3) {
    background: -webkit-linear-gradient(left, #34c2a9, #6cd559);
}
.subnav-entry {
    display: flex;
    flex-wrap: wrap;
    border-radius: 8px;
    background-color: #fff;
    margin: 0 4px;
    padding: 5px 0;
    box-shadow: 0 1px 4px rgba(0,0,0,.2);
}
.subnav-entry li {
    flex: 20%;
}
.subnav-entry li a {
    display: flex;
    flex-direction: column;
    align-items: center;
}
.subnav-entry li a .subnav-entry-icon {
    width: 28px;
    height: 28px;
    /* background-color: pink; */
    margin-top: 4px;
}
.subnav-entry li:nth-child(1) a .subnav-entry-icon {
    background: url(../images/subnav-bg.png) no-repeat 0 3px;
    background-size: 28px auto;
}
.subnav-entry li:nth-child(2) a .subnav-entry-icon {
    background: url(../images/subnav-bg.png) no-repeat 0 -28px;
    background-size: 28px auto;
}
.subnav-entry li:nth-child(3) a .subnav-entry-icon {
    background: url(../images/subnav-bg.png) no-repeat 0 -62px;
    background-size: 28px auto;
}
.subnav-entry li:nth-child(4) a .subnav-entry-icon {
    background: url(../images/subnav-bg.png) no-repeat 0 -97.5px;
    background-size: 28px auto;
}
.subnav-entry li:nth-child(5) a .subnav-entry-icon {
    background: url(../images/subnav-bg.png) no-repeat 0 -130px;
    background-size: 28px auto;
}
.subnav-entry li:nth-child(6) a .subnav-entry-icon {
    background: url(../images/subnav-bg.png) no-repeat 4px -160px;
    background-size: 28px auto;
}
.subnav-entry li:nth-child(7) a .subnav-entry-icon {
    background: url(../images/subnav-bg.png) no-repeat 0 -196px;
    background-size: 28px auto;
}
.subnav-entry li:nth-child(8) a .subnav-entry-icon {
    background: url(../images/subnav-bg.png) no-repeat 0 -226px;
    background-size: 28px auto;
}
.subnav-entry li:nth-child(9) a .subnav-entry-icon {
    background: url(../images/subnav-bg.png) no-repeat 4px -284px;
    background-size: 28px auto;
}
.subnav-entry li:nth-child(10) a .subnav-entry-icon {
    background: url(../images/subnav-bg.png) no-repeat 0 -319px;
    background-size: 28px auto;
}

.sales-box {
    border-top: 1px solid #bbb;
    background-color: #fff;
    margin: 4px 0;
}
.sales-box .sales-hd {
    position: relative;
    height: 44px;
    border-bottom: 1px solid #ccc;
}
.sales-box .sales-hd h2::after {
    position: absolute;
    top: 14px;
    left: 8px;
    content: '';
    width: 79px;
    height: 15px;
    background: url(../images/hot.png) no-repeat 0 -20px;
    background-size: 79px auto;
}
.sales-box .sales-hd .more {
    position: absolute;
    right: 5px;
    top: 8px;
    background: -webkit-linear-gradient(left, #ff506c, #ff6bc6);
    border-radius: 15px;
    color: #fff;
    font-size: 12px;
    padding: 2px 20px 2px 10px;
}
.sales-box .sales-hd .more::after {
    position: absolute;
    content: "";
    top: 6px;
    right: 9px;
    width: 7px;
    height: 7px;
    border-top: 2px solid #fff;
    border-right: 2px solid #fff;
    transform: rotate(45deg);
}
.sales-box .sales-bd .row {
    display: flex;
}
.sales-box .sales-bd .row a {
    flex: 1;
    border-bottom: 1px solid #eee;
}
.sales-box .sales-bd .row a img {
    width: 100%;
}
.sales-box .sales-bd .row a:nth-child(1) {
    border-right: 1px solid #eee;
}